load '../../build-support/dependencies.rb'

platform :ios, '13.0'
use_frameworks!

include_build_tools!

target 'AWSPredictionsPlugin' do
  pod 'Amplify', :path => '../../'
  pod 'AWSPluginsCore', :path => '../../'
  pod "AWSTranslate", $OPTIMISTIC_AWS_SDK_VERSION
  pod "AWSRekognition", $OPTIMISTIC_AWS_SDK_VERSION
  pod "AWSPolly", $OPTIMISTIC_AWS_SDK_VERSION
  pod "AWSComprehend", $OPTIMISTIC_AWS_SDK_VERSION
  pod "AWSTranscribeStreaming", $OPTIMISTIC_AWS_SDK_VERSION
  pod "AWSTextract", $OPTIMISTIC_AWS_SDK_VERSION
end

target 'CoreMLPredictionsPlugin' do
  pod 'Amplify', :path => '../../'
end

target "HostApp" do
  use_frameworks!
  include_test_utilities!
  pod 'Amplify', :path => '../../'

  target "AWSPredictionsPluginIntegrationTests" do
    inherit! :complete

    pod 'AmplifyPlugins/AWSCognitoAuthPlugin', :path => '../../'
  end

  target 'AWSPredictionsPluginTests' do
    inherit! :complete
  end

  target "CoreMLPredictionsPluginIntegrationTests" do
    inherit! :complete
  end

  target "CoreMLPredictionsPluginTests" do
    inherit! :complete
  end
end

